package com.easy.west.westclient.api.constacts.bean;

import java.io.Serializable;

/**
 * 人员实体
 * Created by xiatao on 2018/8/15.
 */

public class PersonBean implements Serializable
{


    /**
     * aid : 11
     * name : 夏涛涛
     * departmentDTO : {"did":35,"fid":2,"name":"天然气销售西南分公司市场开发部","des":null,"created_time":"2017/12/8 18:24:54","rank":350}
     * position : null
     * phonenum : null
     * addnum : null
     * tel : null
     * innernum : null
     * email : null
     * created_time : null
     * access_token : null
     * rank : 2
     */

    private int aid;
    private String name;
    private DepartmentDTOBean departmentDTO;
    private String position;
    private String phonenum;
    private String addnum;
    private String tel;
    private String innernum;
    private String email;
    private String created_time;
    private String access_token;
    private int rank;

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DepartmentDTOBean getDepartmentDTO() {
        return departmentDTO;
    }

    public void setDepartmentDTO(DepartmentDTOBean departmentDTO) {
        this.departmentDTO = departmentDTO;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getAddnum() {
        return addnum;
    }

    public void setAddnum(String addnum) {
        this.addnum = addnum;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getInnernum() {
        return innernum;
    }

    public void setInnernum(String innernum) {
        this.innernum = innernum;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreated_time() {
        return created_time;
    }

    public void setCreated_time(String created_time) {
        this.created_time = created_time;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public  class DepartmentDTOBean implements Serializable{
        /**
         * did : 35
         * fid : 2
         * name : 天然气销售西南分公司市场开发部
         * des : null
         * created_time : 2017/12/8 18:24:54
         * rank : 350
         */

        private int did;
        private int fid;
        private String name;
        private String des;
        private String created_time;
        private int rank;

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDes() {
            return des;
        }

        public void setDes(String des) {
            this.des = des;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }
    }
}
